import requests
proxy = {
    "http":"http://127.0.0.1:8888",
    "https":"http://127.0.0.1:8888"
}
r = requests.get("http://www.baidu.com",proxies = proxy)
print(r.text)

r = requests.get("https://www.baidu.com",proxies = proxy ,verify = False )
print(r.text)